package com.nbst.model.base;

import java.util.Date;

/**
 * 部门管理
 * 
 * @ClassName: Department
 * @Description:
 * @author King
 * @date 2018-8-28
 * 
 */
public class Department extends OrderBy {
	/** id */
	private Integer id;

	/** 部门名称 */
	private String fName;

	/** 是否为虚拟部门 1为是 */
	private Integer isVirtual;

	/** 部门短代码 主要针对ERP中的 */
	private String shortCode;

	/** 父级部门 */
	private Integer pId;

	/** 时间 */
	private Date fDate;

	/** 关闭标志 */
	private Integer fClosed;

	/** 操作人 */
	private Integer fBiller;

	/** 更新时间 */
	private Date fUpdateTime;

	/** ERP中的部门内码 */
	private Integer fItemID;

	/** 是否为车间 1070为车间 1071为非车间 */
	private Integer fDProperty;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName == null ? null : fName.trim();
	}

	public Integer getIsVirtual() {
		return isVirtual;
	}

	public void setIsVirtual(Integer isVirtual) {
		this.isVirtual = isVirtual;
	}

	public String getShortCode() {
		return shortCode;
	}

	public void setShortCode(String shortCode) {
		this.shortCode = shortCode == null ? null : shortCode.trim();
	}

	public Integer getpId() {
		return pId;
	}

	public void setpId(Integer pId) {
		this.pId = pId;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public Integer getfBiller() {
		return fBiller;
	}

	public void setfBiller(Integer fBiller) {
		this.fBiller = fBiller;
	}

	public Date getfUpdateTime() {
		return fUpdateTime;
	}

	public void setfUpdateTime(Date fUpdateTime) {
		this.fUpdateTime = fUpdateTime;
	}

	public Integer getfItemID() {
		return fItemID;
	}

	public void setfItemID(Integer fItemID) {
		this.fItemID = fItemID;
	}

	public Integer getfDProperty() {
		return fDProperty;
	}

	public void setfDProperty(Integer fDProperty) {
		this.fDProperty = fDProperty;
	}

	@Override
	public String toString() {
		return "Department [id=" + id + ", fName=" + fName + ", isVirtual=" + isVirtual + ", shortCode=" + shortCode
				+ ", pId=" + pId + ", fDate=" + fDate + ", fClosed=" + fClosed + ", fBiller=" + fBiller
				+ ", fUpdateTime=" + fUpdateTime + ", fItemID=" + fItemID + ", fDProperty=" + fDProperty + "]";
	}

}